{
    type tesla = ['tesla', 'model 3', 'model X', 'model Y']

    type Length<T extends any[]> = T['length'];

    type testLength = Length<tesla>;
}